package com.unknownman.block.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * NFT列表
 * </p>
 *
 * @author xhy
 * @since 2021-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TNft对象", description = "NFT列表")
public class TNft implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "nft_id", type = IdType.AUTO)
    private Long nftId;

    @ApiModelProperty(value = "nft配置id")
    private Long contractConfigId;

    @ApiModelProperty(value = "NFT所在合约中的tokenId")
    private Long tokenId;

    @ApiModelProperty(value = "铸造时间")
    private Date founTime;

    @ApiModelProperty(value = "当前拥有者")
    private String ownerAddress;

    @ApiModelProperty(value = "上一个拥有者")
    private String preOwnerAddress;

    @ApiModelProperty(value = "交易次数")
    private Integer transCount;

    @ApiModelProperty(value = "token uri")
    private String tokenUri;

    @ApiModelProperty(value = "属性，用于记录nft的属性。")
    private String metaData;

    private String nftAddress;

    private String createBy;

    private Date createDate;

    private String updateBy;

    private Date updateDate;


}
